package cn.echoedu.dao;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import cn.echoedu.daoconstants.TableName;
import cn.echoedu.entity.FeedBack;

public interface DAOInsert {
	public abstract <T> boolean putInto(Connection con,TableName tableName,T 
			currentPojo,boolean running) throws SQLException;
	public abstract <T> int putInfoGetPrimaryKey(Connection con,TableName tableName,
			T currentPojo,boolean running) throws SQLException;
	public abstract <T> boolean addFeedBack(Connection connection, TableName feedBack,
			T feedBack2, boolean b) throws SQLException;
	public <T> List<Integer> putListInfo(Connection con,TableName tableName,
			T currentListPojo,boolean running) throws SQLException;
}
